package com.example.chenrukang.di_yi_hang_dai_ma_demo.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.example.chenrukang.di_yi_hang_dai_ma_demo.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class DiYi_12Activity extends AppCompatActivity {


    @BindView(R.id.btn_toolbar)
    Button btnToolbar;
    @BindView(R.id.btn_drawlayout)
    Button btnDrawlayout;
    @BindView(R.id.btn_floating)
    Button btnFloating;
    @BindView(R.id.btn_cardview)
    Button btnCardview;
    @BindView(R.id.btn_swip)
    Button btnSwip;
    @BindView(R.id.btn_coolapsingtoolbarlayout)
    Button btnCoolapsingtoolbarlayout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_di_yi12);
        ButterKnife.bind(this);

    }

    public void onClick(View v) {
        switch (v.getId()) {
//            case R.id.btn_3:
//                Intent intent3 = new Intent(this, DiYi_12Activity.class);
//                startActivity(intent3);
//                break;
//            case R.id.btn_4:
//                Intent intent4 = new Intent(this, DiYi_12Activity.class);
//                startActivity(intent4);
//                break;
//            case R.id.btn_5:
//                Intent intent5 = new Intent(this, DiYi_12Activity.class);
//                startActivity(intent5);
//                break;
            case R.id.btn_toolbar:
                Intent intentToolbar = new Intent(this, ToolbarActivity.class);
                startActivity(intentToolbar);
                break;
        }
    }

}
